<?php

namespace app\validate;

use app\Validate;

class Wepay extends Validate
{
    /**
     * 验证场景.
     *
     * @var array<array<string>>
     */
    protected $scene = [
        'notify' => [],  // 密码登录
        'refund' => ['orderNo'],
    ];
    /**
     * 验证规则.
     *
     * @var array<string>
     */
    protected $rule = [
        'orderNo' => 'require',  // 手机号
    ];
    /**
     * 验证字段描述
     * 
     * @var array<string>
     */
    protected $field = [
        'orderNo' => '订单号',
    ];    
}